package com.hua.argi;

/**
 * @author: _hua
 * @created: 2019/3/31.
 * @updater:
 * @description:
 */
public class OrderLinkedListTest {
    public  static void main(String args[]){
        testSingleLinkedList();
    }

    public static void testSingleLinkedList(){
        OrderLinkedList singleList = new OrderLinkedList();
        singleList.insert(5);
        singleList.insert(6);
        singleList.insert(3);
        singleList.insert(8);
        //打印当前链表信息
        singleList.display();

        singleList.insert(7);
        singleList.insert(3);
        singleList.insert(1);
        // singleList.delete("B");
        singleList.display();
        //查找B
       // System.out.println(singleList.find("B"));
    }
}
